export default {
  data() {
    return {
      loading: true
    }
  },
  created () {
    
  },
  methods: {
    async getAllList(url) {
      if(!url){
        url = this.apiName
      }
      try {
        let res = await this.allListApi(url)
        this.list = res.data.list
      } catch (error) {
        console.log(error);
      }
      this.loading = false
    }
  },
}